set Show Carets
Sets the visibility of the top and bottom scroll caret indicators.
When flag
is true
, the carets are enabled, and their individual visibility (top or bottom) will be determined by the current scroll position of the ComboScrollView. For example, the top caret will be hidden if the content is scrolled to the top.
When flag
is false
, both carets are permanently hidden, regardless of the scroll position.
If carets are re-enabled (flag changes from false
to true
), their visibility is immediately re-evaluated based on the current scroll state.
Parameters
flag
true
to enable carets (actual visibility then depends on scroll position), false
to hide them permanently.